<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div style="border: 1px solid #ccc;width: 300px; height: 300px; margin: 100px auto" id="clock"></div>
  <script src="./clock.js"></script>
  <script>
    window.onload = function () {
      drawClock('clock');
    }
  </script>
</body>
</html>